package w4;

public class PcTest {
	public static void main(String[] args) {
		CPU c = new CPU();
		// c.speed = 2200;
		c.setSpeed(2200);
		HardDisk hd = new HardDisk();
		hd.amound = 200;
		
		PC pc = new PC();
		//pc.show();
		pc.cpu = c;
		pc.hd = hd;
		pc.show();
		
	}

}
